package com.dongwu.manager.entity;

import java.util.Date;

import javax.persistence.Entity;

import org.springframework.format.annotation.DateTimeFormat;

import com.dongwu.common.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <pre>
 * 消息推送记录; InnoDB free: 4096 kB
 * =============================================================================
 * 日期：yyyyMMdd  担当:
 * 内容:
 * =============================================================================
 * </pre>
 * 
 * @author zhanghui
 */
@Entity
public class SystemMsgPush extends BaseEntity<String>{

    /**
     * 推送标题
     */
    private String title;

    /**
     * 推送系统 标题简介
     */
    private String intro;

    /**
     * 推送内容
     */
    private String content;

    /**
     * 推送userid
     */
    private String userid;

    /**
     * 推送时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date pushTime;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public Date getPushTime() {
		return pushTime;
	}

	public void setPushTime(Date pushTime) {
		this.pushTime = pushTime;
	}

}
